package com.cirnoworks.guice;

import com.google.inject.AbstractModule;
import com.google.inject.matcher.Matchers;

public class LifeCycleModule extends AbstractModule {

	@Override
	protected void configure() {
		LifeCycleService service = new LifeCycleService();
		bindListener(Matchers.any(), new LifeCycleListener(service));
		bind(LifeCycleService.class).toInstance(service);
	}

}